<?php if (empty($data) || count($data) == 0) { ?>
<div style="text-align:center; padding-top:20px;"><?php __('no result found'); ?></div>
<?php } else { ?>
<table width="100%" cellpadding="2" cellspacing="0" border="0" class="reportTbl reportTbl2">
  <thead>
    <tr>
      <td width="30">#</td>
      <td><?php __('Member Id'); ?></td>
      <td><?php __('Full Name'); ?></td>
      <td><?php __('Phone'); ?></td>
      <td><?php __('3 Cycles'); ?></td>
      <td><?php __('5 Cycles'); ?></td>
      <td><?php __('10 Cycles'); ?></td>
      <td><?php __('15 Cycles'); ?></td>
      <td><?php __('20 Cycles'); ?></td>
      <td><?php __('50 Cycles'); ?></td>
      <td><?php __('100 Cycles'); ?></td>
      <td><?php __('300 Cycles'); ?></td>
    </tr>
  </thead>
  <tbody>
<?php     $i = 0;
          foreach ($data as $code=>$row) {
              $i    += 1;
              $style = ($i%2==0)?'':' style="background-color: #E3E3E3;"'; ?>
    <tr>
      <td<?php e($style); ?>><?php e($i); ?>.</td>
      <td><?php echo isset($row['id']) ? $row['id']:'-'; ?></td>
      <td><?php echo isset($row['fullname']) ? $row['fullname']:'-'; ?></td>
      <td><?php echo isset($row['mobile']) ? $row['mobile']:'-'; ?></td>
      <td align="right"><?php e($row['3']); ?></td>
      <td align="right"><?php e($row['5']); ?></td>
      <td align="right"><?php e($row['10']); ?></td>
      <td align="right"><?php e($row['15']); ?></td>
      <td align="right"><?php e($row['20']); ?></td>
      <td align="right"><?php e($row['50']); ?></td>
      <td align="right"><?php e($row['100']); ?></td>
      <td align="right"><?php e($row['300']); ?></td>
    </tr>
<?php     } ?>
  </tbody>
</table>
<?php } ?>